package com.xcfw.dorm.mapper;

import com.xcfw.dorm.entity.Duty;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DutyMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Duty record);

    Duty selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Duty record);

    List<Duty> selectActionSql(@Param("name") String name);
}